package cst.a917cqy.zyfypt_917cqy;


import android.support.v4.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import cst.a912xjc.zyfypt_912xjc.R;


/**
 * A simple {@link Fragment4} subclass.
 */
public class Fragment4 extends Fragment {
    /*private static final  R = ;*/
    private TextView tvinfo;
    private View view=null;
    private Context context;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        context=getActivity();
        view = inflater.inflate(R.layout.fragment4,container,false);
        tvinfo=(TextView)view.findViewById(R.id.textView8);
        tvinfo.setText("设置");
        Toast.makeText(context, "加载fragment设置", Toast.LENGTH_SHORT).show();
        return view;
    }

}
